<!-- 左侧导航区域 -->
<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree">
            <li
                class="layui-nav-item {% if request.path == '/web/index/' or request.path == '/' %}layui-this{% endif %}">
                <a href="/web/index/">首页</a>
            </li>
            <li class="layui-nav-item {% if '/web/loan/' in request.path %}layui-nav-itemed{% endif %}">
                <a href="javascript:;">贷款管理</a>
                <dl class="layui-nav-child">
                    <dd {% if '/web/loan/apply_list/' in request.path %}class="layui-this" {% endif %}>
                        <a href="/web/loan/apply_list/">贷款管理</a>
                    </dd>
                    <dd {% if '/web/loan/loan_list/' in request.path %}class="layui-this" {% endif %}>
                        <a href="/web/loan/loan_list/">放款管理</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item {% if '/web/user/' in request.path %}layui-nav-itemed{% endif %}">
                <a href="javascript:;">客户管理</a>
                <dl class="layui-nav-child">
                    <dd {% if '/web/user/auth_list/' in request.path %}class="layui-this" {% endif %}>
                        <a href="/web/user/auth_list/">实名认证</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item {% if '/web/chat/' in request.path %}layui-nav-itemed{% endif %}">
                <a href="javascript:;">AI助手</a>
                <dl class="layui-nav-child">
                    <dd {% if '/web/chat/chat_room/' in request.path %}class="layui-this" {% endif %}>
                        <a href="/web/chat/chat_room/">AI群聊</a>
                    </dd>
                </dl>
            </li>
        </ul>
    </div>
</div>